dBASE code for getting error codes

The following code is an example of how to get Report Engine error codes using PEGetErrorCode:

LOCAL nError
nError = PEGetErrorCode(Job)
IF nError = 0
    && No error
ELSEIF nError < 0
    && Function failed
ELSE
    && Report error code
ENDIF


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com